package ru.integrationmessagers.vk.model.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Модель Друга
 * */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "vk_friends")
public class Friend extends AbstractModel {

    @JsonProperty("first_name")
    private String firstName;

    @JsonProperty("last_name")
    private String lastName;

    @JsonProperty("photo_200_orig")
    private String photo200Orig;

    @JsonProperty("track_code")
    private String trackCode;

    @JsonProperty("can_access_closed")
    private boolean canAccessClosed;

    @JsonProperty("is_closed")
    private boolean isClosed;

    @JsonProperty("id")
    private Integer vkId;

}
